<template>
    <Layout logo-link='/home/dashboard/app' :main-menu="mainMenu"></Layout>
</template>
<script>
    import Layout from './../../components/layout.vue';
    export default {
        data(){
            const link = 'https://cloud.qingful.com/doc/#/zh-cn/'
            return {

               mainMenu: [
                    {
                        name: '应用',
                        icon: 'icon-icon-test4',
                        url:'/home/dashboard/app',
                        link:`${link}quickstart?id=_1%e5%88%9b%e5%bb%ba%e5%ba%94%e7%94%a8`,
                        subMenu:[]
                    },
                    {
                        name: '财务',
                        icon: 'icon-icon-test13',
                        url:'/home/dashboard/money',
                        subMenu:[]
                    },
                    {
                        name: '账号',
                        title:'基本信息',
                        icon: 'icon-icon-test',
                        url:'',
                        subMenu:[
                            {
                                name:'信息',
                                url:'/home/dashboard/info',
                            },
                            {
                                name:'优惠券',
                                url:'/home/dashboard/coupon',
                            },
                            {
                                name:'认证',
                                url:'/home/dashboard/certify',
                            }
                        ]
                    }

                ]
               
            }
        },
        components: {
            Layout
        }
    }
</script>
<style>
    .ivu-table th{
        text-align: center !important;
        height: 55px!important;
        background: #f2f7fb!important;
    }

    .ivu-table td{
        text-align: center !important;
        height: 55px!important;
    }
    .ivu-table-stripe .ivu-table-body tr:nth-child(2n) td, 
    .ivu-table-stripe .ivu-table-fixed-body tr:nth-child(2n) td {
        background-color: #f2f7fb!important;
    }
</style>